<?php
$domainName = $_SERVER['SERVER_NAME'];
if($_SERVER['SERVER_NAME'] == "localhost") //DEV version
{
//	$db_type = "mysql";
	$db_type = "mysql";
	define('DB_HOST', 'localhost');
//	define('DB_HOST', 'localhost\sqlexpress');
	define('DB_USER', 'root');
	define('DB_PASSWORD', 'admin');
	define('DB_NAME', 'crosswords');	
}
else if($_SERVER['SERVER_NAME'] == "crosswords.url.ph") //PREVIEW version
{
	$db_type = "mysql";
	define('DB_HOST', 'mysql.hostinger.vn');
	define('DB_USER', 'u614754043_cross');
	define('DB_PASSWORD', 'thanhbinh123');
	define('DB_NAME', 'u614754043_cross');	
}
else //LIVE version
{
	$db_type = "mysql"; // mssql - mysql
	define('DB_HOST', 'localhost'); //mssql : your-host\-your-instance
	define('DB_USER', 'admin_hcw'); //your DB username
	define('DB_PASSWORD', 'opentechc');//your DB password
	define('DB_NAME', 'admin_hcw');//your DB name
}
$user_page = "play";
$cw_data_url = DIR_WS_USER.'cw.dat';

$arr_no_login_require_module = array("home","login", "logout");
?>